<!-- 必须全局拥有唯一的id -->
<div>
	<el-form-q form="query" :field-data="queryFileds" search-table="WfiWorkflowOrgList" ></el-form-q>
	<div class="yu-toolBar">
		<el-button-group>
			<el-button icon="add" @click="openCreateFn" >{{ $t('uTrace1.xz') }}</el-button>
			<el-button  icon="edit" @click="openEditFn" >{{ $t('uTrace1.xg') }}</el-button>
			<el-button  icon="delete"  @click="deleteFn" >{{ $t('uTrace1.sc') }}</el-button>
		</el-button-group>
	</div>
	<yu-xtable :utrace="true" row-number selection-type="radio" ref="WfiWorkflowOrgList" :data-url="urls.dataUrl"
  	label-width="220" :u-pk-value="uPkValue1" :trace-server-name="TraceServerName" ukey-field="pkvalue"
		:trace-get-interface="urls.selectSModifyTraceUrl" :trace-get-list-interface="urls.mTraceListUrl">
		<yu-xtable-column prop="pkvalue" label="id" v-if="false"></yu-xtable-column>
		<yu-xtable-column prop="orgName" :label="$t('uTrace1.jgmc')" width="200"></yu-xtable-column>
		<yu-xtable-column prop="wfsign" :label="$t('uTrace1.fbsj')"></yu-xtable-column>
		<yu-xtable-column prop="wfname" :label="$t('uTrace1.lcmc')" width="200"></yu-xtable-column>
		<yu-xtable-column prop="applType" data-code="ZB_BIZ_CATE" :label="$t('uTrace1.sqlx')" width="200"></yu-xtable-column>
		<yu-xtable-column prop="orgCode" data-code="ENV_STS" :label="$t('uTrace1.zt')"></yu-xtable-column>
	</yu-xtable>

	<yu-xdialog :title="textMap[dialogStatus]" v-if="dialogFormVisible" :visible.sync="dialogFormVisible"  height="370px" width="700px" @close="beforeClose" style="left: -40%;">
		<yu-xform ref="WfiWorkflowOrgForm" :utrace="isUtrace" label-width="120px" v-model="formDataForUtrace" 
			ukey-field="pkvalue" :u-pk-value="uPkValue" :utrace-usr-id="utraceUsrId" :utrace-org-id="utraceOrgId" 
			:utrace-menu-id="utraceMenuId" :trace-server-name="TraceServerName" :trace-get-interface="urls.selectSModifyTraceUrl" 
			:trace-get-list-interface="urls.mTraceListUrl" :trace-save-interface="urls.addSModifyTraceUrl" @after-save-utrace="aftersaveu">
			<yu-xform-group>
				<yu-xform-item ctype="input" name="pkvalue" :hidden="true"></yu-xform-item>
				<yu-xform-item :label="$t('uTrace1.ssjgmc')" ctype="input" name="orgName" :placeholder="$t('uTrace1.dgzf')"></yu-xform-item>
				<yu-xform-item :label="$t('uTrace1.sqlx')" ctype="select" data-code="ZB_BIZ_CATE" name="applType"></yu-xform-item>
				<yu-xform-item :label="$t('uTrace1.zt')" ctype="radio" data-code="ENV_STS" name="orgCode"></yu-xform-item>
				<yu-xform-item :label="$t('uTrace1.fbsj')" ctype="datepicker" name="wfsign"></yu-xform-item>
				<yu-xform-item :label="$t('uTrace1.lcmc')" ctype="input" name="wfname" ></yu-xform-item>
			</yu-xform-group>
		</yu-xform>
		<div slot="footer" align="center">
			<el-button v-if="dialogStatus=='creat'" type="primary" @click="saveCreateFn()">{{ $t('uTrace1.qd') }}</el-button>
      <el-button v-if="dialogStatus=='update'" type="primary" @click="saveEditFn()">{{ $t('uTrace1.qd') }}</el-button>
      <el-button @click="dialogFormVisible = false">{{ $t('uTrace1.gb') }}</el-button>
		</div>
	</yu-xdialog>

</div>
